<html xmlns:th="http://www.thymeleaf.org">
<!--/*@thymesVar id="baseConfigForm" type="com.bean.BaseConfig"*/-->
<div class="bjui-row col-1" th:fragment="form">

    <label class="row-label">设备名称</label>
    <div class="row-input ">
        <input type="text" name="name" style="width:400px;" th:value="${deviceClientForm.name}">
    </div>
    <label class="row-label">设备代码</label>
    <div class="row-input ">
        <input type="text" name="code" style="width:400px;" th:value="${deviceClientForm.code}">
    </div>
    <label class="row-label">虚拟机数量</label>
    <div class="row-input ">
        <input type="number" name="virtualNum" style="width:400px;" th:value="${deviceClientForm.virtualNum}">
    </div>
    <label class="row-label">当前任务</label>
    <div class="row-input required">
        <select name="taskCmd" data-toggle="selectpicker" data-rule="required" >
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="cmd,stat : ${taskCmdList}"
                    th:value="${cmd.code}" th:text="${cmd.display}" th:selected="${cmd.code}==${deviceClientForm.taskCmd.code}" >
            </option>
        </select>
    </div>
    <label class="row-label">状态</label>
    <div class="row-input required">
        <select name="state" data-toggle="selectpicker" data-rule="required" >
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="status,statusStat : ${statusList}"
                    th:value="${status.code}" th:text="${status.display}" th:selected="${status.code}==${deviceClientForm.state.code}" >
            </option>
        </select>
    </div>


</div>

